// const fs = require('fs');
// fs.readFile('./data/catalog.json', (err, data) => {
//     data = JSON.parse(data.toString());
//     (async function() {
//         function sleep(time) {
//             return new Promise((resolve, reject) => {
//                 setTimeout(resolve, time);
//             })
//         }
//         let index = 0
//         for (let item of data) {
//             await sleep(2000)
//             let subItems = item.subject_items;
//             for (const subItem of subItems) {

//             }
//         }
//     })()

// })

const Puller = require('./Pullers/BasePuller');
let puller = new Puller();
puller.getPull('http://www.zujuan.com/question/index?chid=7&xd=1')
    .then(res => {
        console.log(res);
    })